package com.slf.flow.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Date;
import java.sql.Timestamp;

@TableName("sp_trends_data")
public class TrendsData {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String title;
    private String author;
    private Date publishTime;
    private String summary;
    private String text;
    private String detailLink;

    private Timestamp updateTime;

    private String dataSource;

    private String website;

    private String imgFileName;

    public String getImgFileName() {
        return imgFileName;
    }

    public void setImgFileName(String imgFileName) {
        this.imgFileName = imgFileName;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDetailLink() {
        return detailLink;
    }

    public void setDetailLink(String detailLink) {
        this.detailLink = detailLink;
    }

    //            `author` varchar(255) DEFAULT NULL COMMENT '作者',
//            `author_company` varchar(255) DEFAULT NULL COMMENT '作者单位',
//            `publish_time` date DEFAULT NULL COMMENT '发布时间',
//            `language` varchar(4) DEFAULT NULL COMMENT '语言',
//            `resource_type` varchar(4) DEFAULT NULL COMMENT '资源类型（1：图片，2：动态，3：成果，4：视频，5：文献）',
//            `source_website` bigint(20) DEFAULT NULL COMMENT '来源网站',
//            `classify_id` bigint(20) DEFAULT NULL,
//  `keyword` varchar(255) DEFAULT NULL COMMENT '关键词',
//            `summary` text COMMENT '摘要',
//            `text` longtext COMMENT '正文',
//            `file_name` varchar(255) DEFAULT NULL COMMENT '文件名',
//            `file_bucket_name` varchar(50) DEFAULT NULL COMMENT '文件桶名',
//            `img_file_name` varchar(255) DEFAULT NULL COMMENT '图片名',
//            `img_bucket_name` varchar(50) DEFAULT NULL COMMENT '图片桶名',
//            `remark` text COMMENT '备注',
//            `uuid` varchar(100) DEFAULT NULL COMMENT 'uuid',
//            `create_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
//  `create_user_name` varchar(50) DEFAULT NULL,
//  `update_time` datetime DEFAULT NULL,
//            `update_user_name` varchar(50) DEFAULT NULL,
//  `views_number` bigint(20) DEFAULT NULL COMMENT '浏览次数',
//            `detail_link` varchar(500) DEFAULT NULL,
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
